class User {
  String? userName;
  String? password;
  int? phoneNum;

  User({this.userName, this.password, this.phoneNum});

  User.fromJson(Map<String, dynamic> json)
      : userName = json['userName'],
        password = json['password'],
        phoneNum = json['phoneNum'];

  Map<String, dynamic> toJson() =>
      {'userName': userName, 'password': password, 'phoneNum': phoneNum};
}
